package gui;

import javax.swing.JPanel;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.LayoutStyle.ComponentPlacement;
import javax.swing.JPasswordField;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class PanelLogin extends JPanel {
	private JTextField textField;
	private JPasswordField passwordField;

	/**
	 * Create the panel.
	 */
	public PanelLogin() {
		
		JLabel labelUsuario = new JLabel("Identificação do Usuário");
		labelUsuario.setBounds(12, 22, 277, 24);
		labelUsuario.setFont(new Font("Dialog", Font.BOLD, 20));
		
		JLabel lblSenha = new JLabel("Senha");
		lblSenha.setBounds(219, 68, 70, 24);
		lblSenha.setFont(new Font("Dialog", Font.BOLD, 20));
		
		textField = new JTextField();
		textField.setBounds(301, 20, 204, 28);
		textField.setFont(new Font("Dialog", Font.PLAIN, 20));
		textField.setColumns(10);
		
		passwordField = new JPasswordField();
		passwordField.setBounds(301, 66, 204, 28);
		passwordField.setFont(new Font("Dialog", Font.PLAIN, 20));
		
		JButton btnLogar = new JButton("Logar");
		btnLogar.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				
				
			}
		});
		btnLogar.setBounds(409, 157, 96, 25);
		
		JButton btnCancelar = new JButton("Cancelar");
		btnCancelar.setBounds(301, 157, 96, 25);
		setLayout(null);
		add(lblSenha);
		add(labelUsuario);
		add(btnCancelar);
		add(btnLogar);
		add(passwordField);
		add(textField);

	}
}
